users={"xacker":{
'passwd':"hexo"}
}
def login(user,passwd):
    user_info = users.get(user,False)
    if user_info:
        if user_info.get('passwd') == passwd:
            return user_info
        else:
            return False
    else:
        return Flse
if __name__=='__main__':
    if login(user="xacker",passwd="hexo"):
        print("china")        
